package com.chinawayltd.ews.sample.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TBranchExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TBranchExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBranchCodeIsNull() {
            addCriterion("branch_code is null");
            return (Criteria) this;
        }

        public Criteria andBranchCodeIsNotNull() {
            addCriterion("branch_code is not null");
            return (Criteria) this;
        }

        public Criteria andBranchCodeEqualTo(String value) {
            addCriterion("branch_code =", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeNotEqualTo(String value) {
            addCriterion("branch_code <>", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeGreaterThan(String value) {
            addCriterion("branch_code >", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeGreaterThanOrEqualTo(String value) {
            addCriterion("branch_code >=", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeLessThan(String value) {
            addCriterion("branch_code <", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeLessThanOrEqualTo(String value) {
            addCriterion("branch_code <=", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeLike(String value) {
            addCriterion("branch_code like", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeNotLike(String value) {
            addCriterion("branch_code not like", value, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeIn(List<String> values) {
            addCriterion("branch_code in", values, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeNotIn(List<String> values) {
            addCriterion("branch_code not in", values, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeBetween(String value1, String value2) {
            addCriterion("branch_code between", value1, value2, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchCodeNotBetween(String value1, String value2) {
            addCriterion("branch_code not between", value1, value2, "branchCode");
            return (Criteria) this;
        }

        public Criteria andBranchNameIsNull() {
            addCriterion("branch_name is null");
            return (Criteria) this;
        }

        public Criteria andBranchNameIsNotNull() {
            addCriterion("branch_name is not null");
            return (Criteria) this;
        }

        public Criteria andBranchNameEqualTo(String value) {
            addCriterion("branch_name =", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameNotEqualTo(String value) {
            addCriterion("branch_name <>", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameGreaterThan(String value) {
            addCriterion("branch_name >", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameGreaterThanOrEqualTo(String value) {
            addCriterion("branch_name >=", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameLessThan(String value) {
            addCriterion("branch_name <", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameLessThanOrEqualTo(String value) {
            addCriterion("branch_name <=", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameLike(String value) {
            addCriterion("branch_name like", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameNotLike(String value) {
            addCriterion("branch_name not like", value, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameIn(List<String> values) {
            addCriterion("branch_name in", values, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameNotIn(List<String> values) {
            addCriterion("branch_name not in", values, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameBetween(String value1, String value2) {
            addCriterion("branch_name between", value1, value2, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchNameNotBetween(String value1, String value2) {
            addCriterion("branch_name not between", value1, value2, "branchName");
            return (Criteria) this;
        }

        public Criteria andBranchTypeIsNull() {
            addCriterion("branch_type is null");
            return (Criteria) this;
        }

        public Criteria andBranchTypeIsNotNull() {
            addCriterion("branch_type is not null");
            return (Criteria) this;
        }

        public Criteria andBranchTypeEqualTo(Byte value) {
            addCriterion("branch_type =", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeNotEqualTo(Byte value) {
            addCriterion("branch_type <>", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeGreaterThan(Byte value) {
            addCriterion("branch_type >", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("branch_type >=", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeLessThan(Byte value) {
            addCriterion("branch_type <", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeLessThanOrEqualTo(Byte value) {
            addCriterion("branch_type <=", value, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeIn(List<Byte> values) {
            addCriterion("branch_type in", values, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeNotIn(List<Byte> values) {
            addCriterion("branch_type not in", values, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeBetween(Byte value1, Byte value2) {
            addCriterion("branch_type between", value1, value2, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("branch_type not between", value1, value2, "branchType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeIsNull() {
            addCriterion("branch_from_type is null");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeIsNotNull() {
            addCriterion("branch_from_type is not null");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeEqualTo(Byte value) {
            addCriterion("branch_from_type =", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeNotEqualTo(Byte value) {
            addCriterion("branch_from_type <>", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeGreaterThan(Byte value) {
            addCriterion("branch_from_type >", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("branch_from_type >=", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeLessThan(Byte value) {
            addCriterion("branch_from_type <", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeLessThanOrEqualTo(Byte value) {
            addCriterion("branch_from_type <=", value, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeIn(List<Byte> values) {
            addCriterion("branch_from_type in", values, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeNotIn(List<Byte> values) {
            addCriterion("branch_from_type not in", values, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeBetween(Byte value1, Byte value2) {
            addCriterion("branch_from_type between", value1, value2, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andBranchFromTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("branch_from_type not between", value1, value2, "branchFromType");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andBranchAddrIsNull() {
            addCriterion("branch_addr is null");
            return (Criteria) this;
        }

        public Criteria andBranchAddrIsNotNull() {
            addCriterion("branch_addr is not null");
            return (Criteria) this;
        }

        public Criteria andBranchAddrEqualTo(String value) {
            addCriterion("branch_addr =", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrNotEqualTo(String value) {
            addCriterion("branch_addr <>", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrGreaterThan(String value) {
            addCriterion("branch_addr >", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrGreaterThanOrEqualTo(String value) {
            addCriterion("branch_addr >=", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrLessThan(String value) {
            addCriterion("branch_addr <", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrLessThanOrEqualTo(String value) {
            addCriterion("branch_addr <=", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrLike(String value) {
            addCriterion("branch_addr like", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrNotLike(String value) {
            addCriterion("branch_addr not like", value, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrIn(List<String> values) {
            addCriterion("branch_addr in", values, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrNotIn(List<String> values) {
            addCriterion("branch_addr not in", values, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrBetween(String value1, String value2) {
            addCriterion("branch_addr between", value1, value2, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andBranchAddrNotBetween(String value1, String value2) {
            addCriterion("branch_addr not between", value1, value2, "branchAddr");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeIsNull() {
            addCriterion("consume_time is null");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeIsNotNull() {
            addCriterion("consume_time is not null");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeEqualTo(Byte value) {
            addCriterion("consume_time =", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeNotEqualTo(Byte value) {
            addCriterion("consume_time <>", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeGreaterThan(Byte value) {
            addCriterion("consume_time >", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeGreaterThanOrEqualTo(Byte value) {
            addCriterion("consume_time >=", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeLessThan(Byte value) {
            addCriterion("consume_time <", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeLessThanOrEqualTo(Byte value) {
            addCriterion("consume_time <=", value, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeIn(List<Byte> values) {
            addCriterion("consume_time in", values, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeNotIn(List<Byte> values) {
            addCriterion("consume_time not in", values, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeBetween(Byte value1, Byte value2) {
            addCriterion("consume_time between", value1, value2, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andConsumeTimeNotBetween(Byte value1, Byte value2) {
            addCriterion("consume_time not between", value1, value2, "consumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeIsNull() {
            addCriterion("board_consume_time is null");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeIsNotNull() {
            addCriterion("board_consume_time is not null");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeEqualTo(Byte value) {
            addCriterion("board_consume_time =", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeNotEqualTo(Byte value) {
            addCriterion("board_consume_time <>", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeGreaterThan(Byte value) {
            addCriterion("board_consume_time >", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeGreaterThanOrEqualTo(Byte value) {
            addCriterion("board_consume_time >=", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeLessThan(Byte value) {
            addCriterion("board_consume_time <", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeLessThanOrEqualTo(Byte value) {
            addCriterion("board_consume_time <=", value, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeIn(List<Byte> values) {
            addCriterion("board_consume_time in", values, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeNotIn(List<Byte> values) {
            addCriterion("board_consume_time not in", values, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeBetween(Byte value1, Byte value2) {
            addCriterion("board_consume_time between", value1, value2, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andBoardConsumeTimeNotBetween(Byte value1, Byte value2) {
            addCriterion("board_consume_time not between", value1, value2, "boardConsumeTime");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeIsNull() {
            addCriterion("unavailable_car_type is null");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeIsNotNull() {
            addCriterion("unavailable_car_type is not null");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeEqualTo(String value) {
            addCriterion("unavailable_car_type =", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeNotEqualTo(String value) {
            addCriterion("unavailable_car_type <>", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeGreaterThan(String value) {
            addCriterion("unavailable_car_type >", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("unavailable_car_type >=", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeLessThan(String value) {
            addCriterion("unavailable_car_type <", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeLessThanOrEqualTo(String value) {
            addCriterion("unavailable_car_type <=", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeLike(String value) {
            addCriterion("unavailable_car_type like", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeNotLike(String value) {
            addCriterion("unavailable_car_type not like", value, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeIn(List<String> values) {
            addCriterion("unavailable_car_type in", values, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeNotIn(List<String> values) {
            addCriterion("unavailable_car_type not in", values, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeBetween(String value1, String value2) {
            addCriterion("unavailable_car_type between", value1, value2, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andUnavailableCarTypeNotBetween(String value1, String value2) {
            addCriterion("unavailable_car_type not between", value1, value2, "unavailableCarType");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneIsNull() {
            addCriterion("big_time_one is null");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneIsNotNull() {
            addCriterion("big_time_one is not null");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneEqualTo(String value) {
            addCriterion("big_time_one =", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneNotEqualTo(String value) {
            addCriterion("big_time_one <>", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneGreaterThan(String value) {
            addCriterion("big_time_one >", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneGreaterThanOrEqualTo(String value) {
            addCriterion("big_time_one >=", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneLessThan(String value) {
            addCriterion("big_time_one <", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneLessThanOrEqualTo(String value) {
            addCriterion("big_time_one <=", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneLike(String value) {
            addCriterion("big_time_one like", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneNotLike(String value) {
            addCriterion("big_time_one not like", value, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneIn(List<String> values) {
            addCriterion("big_time_one in", values, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneNotIn(List<String> values) {
            addCriterion("big_time_one not in", values, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneBetween(String value1, String value2) {
            addCriterion("big_time_one between", value1, value2, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeOneNotBetween(String value1, String value2) {
            addCriterion("big_time_one not between", value1, value2, "bigTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneIsNull() {
            addCriterion("end_time_one is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneIsNotNull() {
            addCriterion("end_time_one is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneEqualTo(String value) {
            addCriterion("end_time_one =", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneNotEqualTo(String value) {
            addCriterion("end_time_one <>", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneGreaterThan(String value) {
            addCriterion("end_time_one >", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneGreaterThanOrEqualTo(String value) {
            addCriterion("end_time_one >=", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneLessThan(String value) {
            addCriterion("end_time_one <", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneLessThanOrEqualTo(String value) {
            addCriterion("end_time_one <=", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneLike(String value) {
            addCriterion("end_time_one like", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneNotLike(String value) {
            addCriterion("end_time_one not like", value, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneIn(List<String> values) {
            addCriterion("end_time_one in", values, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneNotIn(List<String> values) {
            addCriterion("end_time_one not in", values, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneBetween(String value1, String value2) {
            addCriterion("end_time_one between", value1, value2, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andEndTimeOneNotBetween(String value1, String value2) {
            addCriterion("end_time_one not between", value1, value2, "endTimeOne");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoIsNull() {
            addCriterion("big_time_two is null");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoIsNotNull() {
            addCriterion("big_time_two is not null");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoEqualTo(String value) {
            addCriterion("big_time_two =", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoNotEqualTo(String value) {
            addCriterion("big_time_two <>", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoGreaterThan(String value) {
            addCriterion("big_time_two >", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoGreaterThanOrEqualTo(String value) {
            addCriterion("big_time_two >=", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoLessThan(String value) {
            addCriterion("big_time_two <", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoLessThanOrEqualTo(String value) {
            addCriterion("big_time_two <=", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoLike(String value) {
            addCriterion("big_time_two like", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoNotLike(String value) {
            addCriterion("big_time_two not like", value, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoIn(List<String> values) {
            addCriterion("big_time_two in", values, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoNotIn(List<String> values) {
            addCriterion("big_time_two not in", values, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoBetween(String value1, String value2) {
            addCriterion("big_time_two between", value1, value2, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andBigTimeTwoNotBetween(String value1, String value2) {
            addCriterion("big_time_two not between", value1, value2, "bigTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoIsNull() {
            addCriterion("end_time_two is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoIsNotNull() {
            addCriterion("end_time_two is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoEqualTo(String value) {
            addCriterion("end_time_two =", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoNotEqualTo(String value) {
            addCriterion("end_time_two <>", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoGreaterThan(String value) {
            addCriterion("end_time_two >", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoGreaterThanOrEqualTo(String value) {
            addCriterion("end_time_two >=", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoLessThan(String value) {
            addCriterion("end_time_two <", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoLessThanOrEqualTo(String value) {
            addCriterion("end_time_two <=", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoLike(String value) {
            addCriterion("end_time_two like", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoNotLike(String value) {
            addCriterion("end_time_two not like", value, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoIn(List<String> values) {
            addCriterion("end_time_two in", values, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoNotIn(List<String> values) {
            addCriterion("end_time_two not in", values, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoBetween(String value1, String value2) {
            addCriterion("end_time_two between", value1, value2, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andEndTimeTwoNotBetween(String value1, String value2) {
            addCriterion("end_time_two not between", value1, value2, "endTimeTwo");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}